// 文章相关请求模块
import request from "@/utils/request";
// 获取文章列表
export const getArticleS = (params) => {
    return request({
        method: 'GET',
        url: '/mp/v1_0/articles',
        ///body 参数用data传
        // query 参数用params设置
        // header 参数就用header设置
        params
    })
}

// 获取文章频道数据 
export const getArticleChannels = () => {
    return request({
        method: 'GET',
        url: '/mp/v1_0/channels'


    })
}
